<?php
$this->breadcrumbs=array(
	'Supplies'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Supplies', 'url'=>array('index')),
	array('label'=>'Create Supplies', 'url'=>array('create')),
	array('label'=>'Update Supplies', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Supplies', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Supplies', 'url'=>array('admin')),
);
?>

<h1>Xem vật tư #<?php echo $model->id; ?></h1>
<ul class="actions">
    <li><a href="<?php echo $this->createUrl('/supplies/create') ?>">Thêm vật tư</a></li>	
    <li><a href="<?php echo $this->createUrl('/supplies/admin') ?>">Quản lý vật tư</a></li>
</ul>
<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'type',
		'name',
		'number',
		'unit',
	),
)); ?>
